<?php
/**
 * 标签控制器
 */
namespace Home\Controller;
use Common\Controller\HomebaseController;
class TagsController extends HomebaseController {
	public function index(){
		$data['list']=M('tags')->select();
		if($data){
			$data['status']=1;
			$data['mes']='数据读取成功';
		}else{
			$data['status']=0;
			$data['mes']='无数据';
		}
		echo json_encode($data);
	}
}